package com.wisdytech.linkdcs.equipment.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2017-09-16
 */
@TableName("tt_eq_model")
public class EquipModel extends Model<EquipModel> {

    private static final long serialVersionUID = 1L;
    @TableId("PK_ID")
	private String pkId;
    /**
     * 设备类别编号,原为EM_MODEL
     */
    @TableId("MODEL_CODE")
	private String modelCode;
    /**
     * 型号描述，原为EM_MODEL_DESC
     */
    @TableId("MODEL_DESC")
	private String modelDesc;
    /**
     * 设备供应商，原位EM_SUPPLIER_ID
     */
    @TableId("SUPPLIER")
	private String supplier;
    /**
     * 设备供应商，原为EM_MODEL_TYPE
     */
    @TableId("MODEL_TYPE")
	private String modelType;
    
    
    //工序id列表
    @TableField(exist=false)
    private List<String> operationId;
    
    //工序列表
    @TableField(exist=false)
    private List<ModelOperation> operationList;
  
    

	public List<ModelOperation> getOperationList() {
		return operationList;
	}

	public void setOperationList(List<ModelOperation> operationList) {
		this.operationList = operationList;
	}

	public List<String> getOperationId() {
		return operationId;
	}

	public void setOperationId(List<String> operationId) {
		this.operationId = operationId;
	}

	public String getModelType() {
		return modelType;
	}

	public void setModelType(String modelType) {
		this.modelType = modelType;
	}




	/**
	 * 设备采集器型号-临时字段
	 */
	@TableField(exist=false)
	private String code;
	/**
	 * 通信接口
	 */
	@TableField(exist=false)
	private String ecRoute;
	/**
	 * 采集器参数
	 */
	@TableField(exist=false)
	private String paramName;
	/**
	 * 采集器id
	 */
	@TableField(exist=false)
	private String paramId;
	
	
	
    /**
     * 删除标记
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * 记录创建人
     */
    @TableField("CREATE_USER")
    private String createUser;
    /**
     * 记录创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * 记录更新人
     */
    @TableField("UPDATE_USER")
    private String updateUser;
    /**
     * 记录更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;
    
    /**
     * 采集方式
     */
    @TableField(exist=false)
    private String collectionType;

    @TableField(exist=false)
    private String paramCode;

    public String getParamCode() {
        return paramCode;
    }

    public void setParamCode(String paramCode) {
        this.paramCode = paramCode;
    }

    public String getCollectionType() {
		return collectionType;
	}

	public void setCollectionType(String collectionType) {
		this.collectionType = collectionType;
	}

	public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPkId() {
		return pkId;
	}

	public void setPkId(String pkId) {
		this.pkId = pkId;
	}



    public String getModelCode() {
		return modelCode;
	}

	public void setModelCode(String modelCode) {
		this.modelCode = modelCode;
	}

	public String getModelDesc() {
		return modelDesc;
	}

	public void setModelDesc(String modelDesc) {
		this.modelDesc = modelDesc;
	}

	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getEcRoute() {
        return ecRoute;
    }

    public void setEcRoute(String ecRoute) {
        this.ecRoute = ecRoute;
    }
    
    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

	
	public String getParamId() {
        return paramId;
    }

    public void setParamId(String paramId) {
        this.paramId = paramId;
    }
    
    

    
	@Override
	protected Serializable pkVal() {
		return this.pkId;
	}

}
